<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="${basePath}resources/js/main/well.js" type="text/javascript"></script>
</head>
<body>
<div id="wellQuery">
  		<div><input id="well_queryText" type="text"><input type="button" onclick="well.loadList(1)" value="查询"></div>
  	</div>
  	<div style="text-align: right;border-top: solid 1px #f9f9f9;padding-right: 18px;">
  	<input type="button" value="新增矿井" onclick="well.openAddDialog()">
  	</div>
    <div id="wellTable">
    </div>
  	<div id="addWellDialog" title="新增矿井" style="display: none;">
  	<form id="add_form" action="${basePath}app/well/doAddWell" method="post" target="callback">
  		<div style="float: left;">
  		<div><label class="formitem">井名：</label><input name="name" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">地理位置：</label><textarea name="location" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">构造位置：</label><textarea name="gouzaoLoc" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">钻探依据：</label><textarea name="basisDrill" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">钻探目的：</label><textarea name="objective" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">井别：</label><input name="class_" class="formitem_text" type="text"/></div>
  		
  		<div><label class="formitem">井队号：</label><input name="teamNumber" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">完井方法：</label><input name="method" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">开钻日期：</label><input name="dateBeginDrill" id="add_dateBeginDrill" class="formitem_text"/></div>
  		</div>
  		<div>
  		<div><label class="formitem">完钻日期：</label><input name="dateEndDrill" id="add_dateEndDrill" class="formitem_text"/></div>
  		<div><label class="formitem">完井日期：</label><input name="dateFinishWell" id="add_dateFinishWell" class="formitem_text"/></div>
  		<div><label class="formitem">设计井深（垂深）：</label><input name="verticalDepthDesign" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">设计井深（斜深）：</label><input name="inclinedDepthDesign" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">完钻井深（垂深）：</label><input name="verticalDepthReal" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">完钻井深（斜深）：</label><input name="inclinedDepthReal" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">完钻层位：</label><input name="wellLayer" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">完井依据：</label><input name="basisFinishDrill" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">备注：</label><textarea name="remark" class="formitem_text"></textarea></div>
  		<div><label class="formitem">注采方式：</label><input name="produceMethod" class="formitem_text" type="text"/></div>
  		</div>
  		<div style="clear: left;"><span>录入人：${sessionScope.user.username}</span></div>
  		<div style="text-align: center;clear: left;"><input type="reset" value="重置"><input type="submit" value="确认"></div>
  		</form>
  	</div>
  	<div id="detailWellDialog" title="查看" style="display:none;">
  		<div style="float: left;">
  		<div><label class="formitem">井名：</label><input id="detail_name" disabled="disabled" name="name" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">地理位置：</label><textarea id="detail_location" disabled="disabled" name="location" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">构造位置：</label><textarea id="detail_gouzaoLoc" disabled="disabled" name="gouzaoLoc" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">钻探依据：</label><textarea id="detail_basisDrill" disabled="disabled" name="basisDrill" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">钻探目的：</label><textarea id="detail_objective" disabled="disabled" name="objective" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">井别：</label><input id="detail_class_" name="class_" disabled="disabled" class="formitem_text" type="text"/></div>
  		
  		<div><label class="formitem">井队号：</label><input id="detail_teamNumber" disabled="disabled" name="teamNumber" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">完井方法：</label><input id="detail_method" disabled="disabled" name="method" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">开钻日期：</label><input id="detail_dateBeginDrill" disabled="disabled" name="dateBeginDrill" class="formitem_text"/></div>
  		</div>
  		<div>
  		<div><label class="formitem">完钻日期：</label><input id="detail_dateEndDrill" disabled="disabled" name="dateEndDrill" class="formitem_text"/></div>
  		<div><label class="formitem">完井日期：</label><input id="detail_dateFinishWell" disabled="disabled" name="dateFinishWell" class="formitem_text"/></div>
  		<div><label class="formitem">设计井深（垂深）：</label><input id="detail_verticalDepthDesign" disabled="disabled" name="verticalDepthDesign" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">设计井深（斜深）：</label><input id="detail_inclinedDepthDesign" disabled="disabled" name="inclinedDepthDesign" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">完钻井深（垂深）：</label><input id="detail_verticalDepthReal" disabled="disabled" name="verticalDepthReal" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">完钻井深（斜深）：</label><input id="detail_inclinedDepthReal" disabled="disabled" name="inclinedDepthReal" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">完钻层位：</label><input id="detail_wellLayer" name="wellLayer" disabled="disabled" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">完井依据：</label><input id="detail_basisFinishDrill" disabled="disabled" name="basisFinishDrill" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">备注：</label><textarea id="detail_remark" name="remark" disabled="disabled" class="formitem_text"></textarea></div>
  		<div><label class="formitem">注采方式：</label><input id="detail_produceMethod" name="produceMethod" disabled="disabled" class="formitem_text" type="text"/></div>
  		</div>
  		<div style="clear: left;"><span>录入人：<span id="detail_owner"></span></span><span>录入时间：</span><span id="detail_dateInput"></span></div>
  	</div>
  	<div id="updateWellDialog" title="修改矿井" style="display: none;">
  			<form action="${basePath}app/well/doUpdateWell" method="post" target="callback">
  		<div style="float: left;">
  		<div><label class="formitem">井名：</label><input id="update_name" name="name" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">地理位置：</label><textarea id="update_location" name="location" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">构造位置：</label><textarea id="update_gouzaoLoc" name="gouzaoLoc" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">钻探依据：</label><textarea id="update_basisDrill" name="basisDrill" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">钻探目的：</label><textarea id="update_objective" name="objective" cols="" class="formitem_text"></textarea></div>
  		<div><label class="formitem">井别：</label><input id="update_class_" name="class_" class="formitem_text" type="text"/></div>
  		
  		<div><label class="formitem">井队号：</label><input id="update_teamNumber" name="teamNumber" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">完井方法：</label><input id="update_method" name="method" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">开钻日期：</label><input id="update_dateBeginDrill" name="dateBeginDrill" class="formitem_text"/></div>
  		</div>
  		<div>
  		<div><label class="formitem">完钻日期：</label><input id="update_dateEndDrill" name="dateEndDrill" class="formitem_text"/></div>
  		<div><label class="formitem">完井日期：</label><input id="update_dateFinishWell" name="dateFinishWell" class="formitem_text"/></div>
  		<div><label class="formitem">设计井深（垂深）：</label><input id="update_verticalDepthDesign" name="verticalDepthDesign" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">设计井深（斜深）：</label><input id="update_inclinedDepthDesign" name="inclinedDepthDesign" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">完钻井深（垂深）：</label><input id="update_verticalDepthReal" name="verticalDepthReal" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">完钻井深（斜深）：</label><input id="update_inclinedDepthReal" name="inclinedDepthReal" class="formitem_text" type="text"/>米</div>
  		<div><label class="formitem">完钻层位：</label><input id="update_wellLayer" name="wellLayer" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">完井依据：</label><input id="update_basisFinishDrill" name="basisFinishDrill" class="formitem_text" type="text"/></div>
  		<div><label class="formitem">备注：</label><textarea id="update_remark" name="remark" class="formitem_text"></textarea></div>
  		<div><label class="formitem">注采方式：</label><input id="update_produceMethod" name="produceMethod" class="formitem_text" type="text"/></div>
  		</div>
  		<div style="clear: left;"><span>录入人：<span id="update_owner"></span></span><span>录入时间：</span><span id="update_dateInput"></span><input id="update_id" name="id" type="hidden"/></div>
  		<div style="text-align: center;clear: left;"><input type="submit" value="确认"></div>
  		</form>
  	</div>
  	<iframe id="callback" style="display: none;"></iframe>
</body>
</html>